//
//  WJNibBridgeController.m
//  JerryIos
//
//  Created by 王军 on 2018/2/22.
//  Copyright © 2018年 王军. All rights reserved.
//

#import "WJNibBridgeController.h"
#import "WJXibBridgeController.h"
#import "WJStoryboardBridgeController.h"

@interface WJNibBridgeController ()

@end

@implementation WJNibBridgeController

- (void)viewDidLoad {
    [super viewDidLoad];
    
}

- (IBAction)xibBridge:(id)sender {
    [self.navigationController pushViewController:WJXibBridgeController.new animated:YES];
}

- (IBAction)storybordBridge:(id)sender {
    UIStoryboard *meStoryboard = [UIStoryboard storyboardWithName:NSStringFromClass([WJStoryboardBridgeController class]) bundle:nil];
    //加载箭头指向的那个控制器
    WJStoryboardBridgeController *storyboardBridgeController = [meStoryboard instantiateInitialViewController];
    [self.navigationController pushViewController:storyboardBridgeController animated:YES];
}

@end
